import axios from 'axios';

import { OrderStatusConfig } from '../models/OrderItem';
import { OrderQuery } from '../models/OrderList';

export const getOrderList = (query: OrderQuery) => axios.get('/api/v1/cardOrder/auth/list', { params: query.params });

export const delOrderItem = (query: OrderStatusConfig) => axios.post('/api/v1/cardOrder/auth/del', query.body);
